<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div>
    <%if(d==0){%>
    <form action="/mycenter/admin" method="post">
    <% adminlist.forEach(function(data){%>
         <input type="hidden" name="id" value="<%=data._id%>">
         用户名：<input type="text" name="user" value="<%=data.name%>">
         密 码：<input type="text" name="pass" value="<%=data.pass%>">
        <input type="submit" value="确定修改">
    <%})%>
    </form>
    <%}else{%>
     <h3>恭喜，修改账户密码成功！</h3>
    <%}%>
</div>
</body>
</html>